/*
 * @Descripttion: 
 * @version: 
 * @Author: Terry
 * @Date: 2020-06-04 17:18:56
 * @LastEditors: Terry
 * @LastEditTime: 2024-11-29 01:48:43
 */ 
export default [
  {
    path:'/auth',
    name:'authLayout',
    component: ()=>import("@/views/platform/auth/Layout.vue"),
    redirect: { path: '/auth' },
    children: [
      {name: "login",path: "login",component: ()=>import("@/views/platform/auth/Login.vue")},
    ]
  },
  {name: 'modules',path :'/modules',component: ()=>import("@/views/platform/modules/Index.vue"),},
  {
    path: '/platform',
    name: 'platformIndex',
    component: ()=>import("@/views/Index.vue"),
    redirect: { path: '/platform' },
    meta: { title: 'platform.router.title' },
    // 嵌套路由 》》 对应着Home组件中的router-viewa
      children: [
        //项目相关
        { name: 'projectList', path: 'project/list', component: () => import("@/views/platform/project/Index.vue"), meta: { title: 'platform.router.projectListTitle' } },
      ]
  }
];

